      <?php foreach ($products as $product): ?>


<div class="featuredslider">
      
           <div class="slidhead">
            	<h4 class="colr">FEATURED PRODUCTS</h4>
                <a href="#" class="viewall">View All</a>
            </div>
            <div class="slidercont">
            <a href="#" class="prevbtn">&nbsp;</a>
            <div class="anyClass">
                <ul>
                    <li>
                        <a href="./products/view/<?php echo $product['Product']['id'];?>" class="thumb"><img width="137px" height="137px"src="img/<?php echo $product['Product']['image1'];?>" alt="" /></a>
                        <h6><a href="#" class="colr"><?php echo $product['Product']['product_name'];?></a></h6>
                        <div class="rating">
                        	<div class="stars">
                            	<a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#" class="gry">&nbsp;</a>
                            </div>
                            <a href="#" class="reviews">1 Review(s)</a>
                        </div>
                        <div class="prices">
                        	<p class="newprice colr"><?php echo $product['Product']['price'];?> VND</p>
                            <p class="oldprice"><?php echo $product['Product']['old_price'];?> </p>
                        </div>
                        <div class="cartse">
                        	<a href="cart.html" class="buttonone">Add to Cart</a>
                            <a href="#" class="favo">&nbsp;</a>
                            <a href="#" class="whishlist">&nbsp;</a>
                        </div>
                    </li>
                    <li>
                        <a href="detail.html" class="thumb"><img src="img/prod2.gif" alt="" /></a>
                        <h6><a href="#" class="colr">Washing Machine</a></h6>
                        <div class="rating">
                        	<div class="stars">
                            	<a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#" class="gry">&nbsp;</a>
                            </div>
                            <a href="#" class="reviews">1 Review(s)</a>
                        </div>
                        <div class="prices">
                        	<p class="newprice colr">$58.00</p>
                            <p class="oldprice">$88.00</p>
                        </div>
                        <div class="cartse">
                        	<a href="cart.html" class="buttonone">Add to Cart</a>
                            <a href="#" class="favo">&nbsp;</a>
                            <a href="#" class="whishlist">&nbsp;</a>
                        </div>
                    </li>
                    <li>
                        <a href="detail.html" class="thumb"><img src="img/prod3.gif" alt="" /></a>
                        <h6><a href="#" class="colr">Microwave Oven</a></h6>
                        <div class="rating">
                        	<div class="stars">
                            	<a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#" class="gry">&nbsp;</a>
                            </div>
                            <a href="#" class="reviews">1 Review(s)</a>
                        </div>
                        <div class="prices">
                        	<p class="newprice colr">$58.00</p>
                            <p class="oldprice">$88.00</p>
                        </div>
                        <div class="cartse">
                        	<a href="cart.html" class="buttonone">Add to Cart</a>
                            <a href="#" class="favo">&nbsp;</a>
                            <a href="#" class="whishlist">&nbsp;</a>
                        </div>
                    </li>
                    <li>
                        <a href="detail.html" class="thumb"><img src="img/prod4.gif" alt="" /></a>
                        <h6><a href="#" class="colr">Split AC</a></h6>
                        <div class="rating">
                        	<div class="stars">
                            	<a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#" class="gry">&nbsp;</a>
                            </div>
                            <a href="#" class="reviews">1 Review(s)</a>
                        </div>
                        <div class="prices">
                        	<p class="newprice colr">$58.00</p>
                            <p class="oldprice">$88.00</p>
                        </div>
                        <div class="cartse">
                        	<a href="cart.html" class="buttonone">Add to Cart</a>
                            <a href="#" class="favo">&nbsp;</a>
                            <a href="#" class="whishlist">&nbsp;</a>
                        </div>
                    </li>
                    <li>
                        <a href="detail.html" class="thumb"><img src="img/prod5.gif" alt="" /></a>
                        <h6><a href="#" class="colr">Home Fridge</a></h6>
                        <div class="rating">
                        	<div class="stars">
                            	<a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#">&nbsp;</a>
                                <a href="#" class="gry">&nbsp;</a>
                            </div>
                            <a href="#" class="reviews">1 Review(s)</a>
                        </div>
                        <div class="prices">
                        	<p class="newprice colr">$58.00</p>
                            <p class="oldprice">$88.00</p>
                        </div>
                        <div class="cartse">
                        	<a href="cart.html" class="buttonone">Add to Cart</a>
                            <a href="#" class="favo">&nbsp;</a>
                            <a href="#" class="whishlist">&nbsp;</a>
                        </div>
                    </li>
                </ul>
            </div>
            <a href="#" class="nextbtn">&nbsp;</a>
            </div>
            <script type="text/javascript" src="js/sliderscript.js"></script>
        </div>
<?php endforeach; ?>